package cn.edu.zut.salarymanagesystem.bean.pojo;

import java.util.Date;


public class Attendence {
    private String uid;
    private Date time;
    private String commentary;
    private int flag;
    //flag = 0 表示正常，= 1表示请了半天的假

    private float hour;

    public float getHour() {
        return hour;
    }

    public void setHour(float hour) {
        this.hour = hour;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getCommentary() {
        return commentary;
    }

    public void setCommentary(String commentary) {
        this.commentary = commentary;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "Attendence{" +
                "uid='" + uid + '\'' +
                ", time=" + time +
                ", commentary='" + commentary + '\'' +
                ", flag=" + flag +
                ", hour=" + hour +
                '}';
    }
}
